<script>
export default {
  created () {
    // 调用API从本地缓存中获取数据
    /*
     * 平台 api 差异的处理方式:  api 方法统一挂载到 mpvue 名称空间, 平台判断通过 mpvuePlatform 特征字符串
     * 微信：mpvue === wx, mpvuePlatform === 'wx'
     * 头条：mpvue === tt, mpvuePlatform === 'tt'
     * 百度：mpvue === swan, mpvuePlatform === 'swan'
     * 支付宝(蚂蚁)：mpvue === my, mpvuePlatform === 'my'
     */

  //   let logs
  //   if (mpvuePlatform === 'my') {
  //     logs = mpvue.getStorageSync({key: 'logs'}).data || []
  //     logs.unshift(Date.now())
  //     mpvue.setStorageSync({
  //       key: 'logs',
  //       data: logs
  //     })
  //   } else {
  //     logs = mpvue.getStorageSync('logs') || []
  //     logs.unshift(Date.now())
  //     mpvue.setStorageSync('logs', logs)
  //   }
  // },
  // log () {
  //   console.log(`log at:${Date.now()}`)
  }
}
</script>

<style>
.shareBtn {
  background: url('../static/images/share.png') no-repeat #fff;
  border: 1px solid #f1f1f1;
  width: 40px;
  height: 40px;
  background-size: 100%;
  border-radius: 5px;
  position: fixed;
  right: 10px;
  bottom: 10px;
}
page{
  font-size: 14px;
  color: #444;
  font-family: 'microsoft yaHei';
}
.nowrap{overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
/*文本对其*/
.text-left{
  text-align: left
}
.text-center{
  text-align: center
}
.text-right{
  text-align: right
}
/*字体颜色*/
.text-red{
  color: #ff3f00
}
.text-blue{
  color: #104E8B
}
.text-white{
  color: #fff
}
.text-yellow{
  color: #FF8247
}
.text-green{
  color: #49a16f
}
.text-gray{
  color: #999
}
.text-black{
  color: #000
}
/*背景颜色*/
.bg-red{
  background-color: #ff3f00
}
.bg-blue{
  background-color: #104E8B
}
.bg-white{
  background-color: #fff
}
.bg-yellow{
  background-color: #FF8247
}
.bg-green{
  background-color: #49a16f
}
.bg-gray{
  background-color: #f1f1f1
}
.bg-black{
  background-color: #000
}
/*float*/
.fl{
  float: left;
}
.fr{
  float: right;
}
.clearfix:after{display:block;clear:both;content:"";visibility:hidden;height:0}
.clearfix{zoom:1}
/*margin*/
.m-1_5{
  margin: 5px;
}
.m-1{
  margin: 10px;
}
.m-2{
  margin: 20px;
}
.m-3{
  margin: 30px;
}
.m-4{
  margin: 40px;
}

.mt-1_5{
  margin-top: 5px;
}
.mt-1{
  margin-top: 10px;
}
.mt-2{
  margin-top: 20px;
}
.mt-3{
  margin-top: 30px;
}
.mt-4{
  margin-top: 40px;
}

.mr-1_5{
  margin-right: 5px;
}
.mr-1{
  margin-right: 10px;
}
.mr-2{
  margin-right: 20px;
}
.mr-3{
  margin-right: 30px;
}
.mr-4{
  margin-right: 40px;
}

.mb-1_5{
  margin-bottom: 5px;
}
.mb-1{
  margin-bottom: 10px;
}
.mb-2{
  margin-bottom: 20px;
}
.mb-3{
  margin-bottom: 30px;
}
.mb-4{
  margin-bottom: 40px;
}

.ml-1_5{
  margin-left: 5px;
}
.ml-1{
  margin-left: 10px;
}
.ml-2{
  margin-left: 20px;
}
.ml-3{
  margin-left: 30px;
}
.ml-4{
  margin-left: 40px;
}
/*padding*/
.p-1{
  padding: 10px;
}
.p-2{
  padding: 10px;
}
.p-3{
  padding: 30px;
}
.p-4{
  padding: 40px;
}
.p-0{
  padding: 0;
}

.pt-1{
  padding-top: 10px;
}
.pt-2{
  padding-top: 20px;
}
.pt-3{
  padding-top: 30px;
}
.pt-4{
  padding-top: 40px;
}
.pt-0{
  padding-top: 0;
}

.pr-1{
  padding-right: 10px;
}
.pr-2{
  padding-right: 20px;
}
.pr-3{
  padding-right: 30px;
}
.pr-4{
  padding-right: 40px;
}
.pr-0{
  padding-right: 0;
}

.pb-1{
  padding-bottom: 10px;
}
.pb-2{
  padding-bottom: 20px;
}
.pb-3{
  padding-bottom: 30px;
}
.pb-4{
  padding-bottom: 40px;
}
.pb-0{
  padding-bottom: 0;
}

.pl-1{
  padding-left: 10px;
}
.pl-2{
  padding-left: 20px;
}
.pl-3{
  padding-left: 30px;
}
.pl-4{
  padding-left: 40px;
}
.pl-0{
  padding-left: 0;
}
/*border*/
.b-g{
  border: #dedede 1px solid;
}
.b-g-t{
  border-top: #dedede 1px solid;
}
.b-g-r{
  border-right: #dedede 1px solid;
}
.b-g-b{
  border-bottom: #dedede 1px solid;
}
.b-g-l{
  border-left: #dedede 1px solid;
}

.b-w{
  border: #fff 1px solid;
}
.b-w-t{
  border-top: #fff 1px solid;
}
.b-w-r{
  border-right: #fff 1px solid;
}
.b-w-b{
  border-bottom: #fff 1px solid;
}
.b-w-l{
  border-left: #fff 1px solid;
}

/*font-size*/
.ft-12{
  font-size: 12px;
}
.ft-13{
  font-size: 13px;
}
.ft-14{
  font-size: 14px;
}
.ft-15{
  font-size: 15px;
}
.ft-16{
  font-size: 16px;
}
.ft-17{
  font-size: 17px;
}
.ft-18{
  font-size: 18px;
}
.ft-19{
  font-size: 19px;
}
.ft-20{
  font-size: 20px;
}
.ft-21{
  font-size: 21px;
}
.ft-22{
  font-size: 22px;
}
.ft-23{
  font-size: 23px;
}
.ft-24{
  font-size: 24px;
}
.ft-25{
  font-size: 25px;
}
.ft-26{
  font-size: 26px;
}
.ft-27{
  font-size: 27px;
}
.ft-28{
  font-size: 28px;
}
.ft-29{
  font-size: 29px;
}
.ft-30{
  font-size: 30px;
}

.time{
  font-size: 12px;
  color: #999;
  margin-top: 7px;
}
.time .auName{
  margin-right: 20px;
  font-size: 14px;
}
/*title*/
.title {
  padding:10px;
  font-size: 18px;
  line-height: 22px;
  border-bottom: #efefef 1px solid;
}
.title .fl{
  color: #49a16f;
  padding-left: 10px;
  border-left: #49a16f 3px solid;
}
.title .fr{
  color: #999;
  font-size: 15px;
  line-height: 22xzpx;
}
/*列表*/
.new_list{
  display: block;
  position:relative;
}
.new_list .li{
  display: block;
  border-bottom: #efefef 1px solid;
  position: relative;
  padding: 16px 10px;
}
.new_list .li:last-child{
  border:0;
}
.new_list .li .img_box{
  width:100%;
  min-height: 74px;
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.new_list .li .img_box.lg{
  min-height: 160px;
}

.new_list .li .tit_box {
  max-height: 80px;
  line-height: 23px;
}

.new_list .li .tit_box .tit{
  font-size: 17px;
  font-weight: 500;
  word-wrap:break-word;
  word-break:break-all;
  overflow: hidden;
  text-overflow: ellipsis; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
/*文章*/
.txt-title{
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    color:#171a23;
}
.time-tit{
  font-size: 15px;
  margin-top: 20px;
}
.wxParse, .txt-content{
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
}
.wxParse image, .txt-content image{
  max-width: 100%!important;
  display:block;
}
/*表格*/
.table {
  display: table;
}
.table-tr {
  display: table-row;
  width: 100%;
}
.table-td {
  display:table-cell;
  padding:4px
}
/* 列表暂无数据 */
.nodata {
  font-size: 150px;
  text-align: center;
  opacity: 0.3;
}
.notTXT {
  font-size: 30px;
  width: 100%;
  margin-top: 10px;
}
.notIOCNWarp .notIOCN {
  display: block;
}
.notIOCNWarp {
  display: block;
}
.hdoperateBomb .van-popup{
  width: 80%;
  line-height: 24px;
  background-color: rgba(255,255,255,0);
  overflow-y:unset;
}
.hdbgImg {
  position: relative;
}
.hdbgImg .hdclosed {
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 25px;
  position:absolute;
  right:-15px;
  z-index:9999999;
  color:#fff;
  top:-60px;
  margin:0 -12px 0 0;
  padding:7px 6px 5px 6px;
} 
.hdbgImg .dialog {
  width: 100%;
  height:280px;
}
.hy {
  width: 124px;
  height: 37px;
  position:absolute;
  bottom:20%;
  left:50%;
  margin-left:-62px;
}
</style>
